/* 
 * File:   RedoCommand.h
 * Author: Gab'z
 *
 * Created on 3 juin 2012, 20:13
 */

#ifndef REDOCOMMAND_H
#define	REDOCOMMAND_H

#include "Command.h"

namespace calculator {

    class RedoCommand : public Command {
        friend class CommandMap;
    public:
        virtual ~RedoCommand();

        virtual RedoCommand* clone() const;

        std::string isExecutable() const;
        void execute() const throw (CommandException);

    private:
        RedoCommand(const std::string name);
        RedoCommand(const RedoCommand& orig);
    };
}

#endif	/* REDOCOMMAND_H */

